/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javamines.model;


import Server.Connection;
import Server.Server;
import java.net.Socket;

/**
 *
 * @author Lucas
 */
public class User extends Connection{

    private String name;
    private Server server;
    
    public User(String naam, Server server, Socket socket){
        super(socket,naam);
        this.server = server;
        this.name = naam;
    }

    public void run(){
        server.waitForGame(this).run();
    }


}
